home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
Documents
/
NeXTAnswers
/
sysadmin.416
< prev
next >
Wrap
Text File
|
1992-02-06
|
4KB
|
170 lines
{\rtf0\ansi{\fonttbl\f2\fswiss Helvetica;\f1\fmodern Courier;\f0\fnil Times-Roman;}
\paperw12220
\paperh12880
\margl740
\margr540
{\colortbl\red0\green0\blue0;}
\pard\tx540\tx6300\f2\b0\i0\ul0\fs24 \
\
\b\fs48 \
\qc\li180 Backup Strategy\
\
using dump(8)\
\b0\fs24 \
\
\
\pard\tx640\tx6300\b\fs32\fi-500\li480 1.
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 Do a BuildDisk
\pard\tx640\tx6300\b0\fs36\fi-500\li480 \
\
\
\b\fs32 2. Generate files depending solely on the release\
\
\pard\tx540\tx900\tx2160\tx5200\tx6000\b0\fi-400\li920 • cat pages —
\f1\b catman
\f2\b0 (8)\
\
• Index the header files (
\f1\b /usr/include
\f2\b0 ) — Digital Librarian\
\
• Unpack (“install”) Sybase, TeX, LISP\
\
\
\pard\tx640\tx6300\b\fi-500\li480 3. Do a phony level 0 dump (use one of the following)\
\
\pard\tx540\tx900\tx2160\tx5200\tx6000\b0\fi-400\li920 •
\f1\b dump 0uf /dev/null /dev/rsd0a\
\f2\b0\fi-300\li1460 • Takes longer\
• Simpler\
\fi-400\li920 \
• Edit the file
\f1\b /etc/dumpdates
\f2\b0 \
\pard\tx540\tx900\tx1560\tx5200\tx6000\fi-300\li1220 • Takes less time\
• Slightly more complicated\
• Put a line such as the following in the file\
\
\f1\b
\fs30 /dev/rsd0a 0 Tue Sep 19 12:19:40 1989
\fs32 \
\f2\b0 \
Easiest way to get such a line truely properly formatted is to copy another one. Format [from dumpdates(5)]:\
\
“
\f1\b -16%s %c %s
\f2\b0 ”\
\
Key: those blanks ain't tabs!\
\pard\tx640\tx6300\b\fi-500\li480 \
\
4. Configure the system (NetInfo, restore users, etc.)\
\
\fs36 \
\fs32 5. Do a level 1 dump
\fs36 \
\
\pard\tx540\tx900\tx2160\tx5200\tx6000\b0\fs32\fi-400\li920 • Phony if everything is simply restored\
\
• Real if work was needed\
\b\fs36 \
\f1\fs32 mount /dev/od0a /DUMP\
dump 1ufo /DUMP/clients-1.dump /dev/rsd0b\
umount /dev/od0a\
disk -e /dev/rod0a\
\f2\fs36 \
\b0\fs32 The file name clients-1.dump is based on the file system name (where it's usually mounted; here, assumed to be
\f1 /clients
\f2 ) and the dump level.
\b\fs36 \
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 \
\fs32 6. PUT THE RELEASE DISK, THE UPGRADE DISK, AND THE LEVEL 1 DUMP IN A VERY SAFE PLACE. It even makes sense to make a second level 1 dump.\
\
Now you're ready for normal operations.
\pard\tx640\tx6300\fs36\fi-500\li480 \
\
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fs32\fc0 7. Each day, do an incremental dump\
\pard\tx640\tx6300\fs36\fi-500\li480 \
\pard\tx540\tx900\tx2160\tx5200\tx6000\b0\fs32\fi-400\li920 • Level 9\
\
• Rotate media each day (multiple sets precludes destroying the most recent dump if today's dump fails)\
\
\
\pard\tx640\tx6300\b\fi-500\li480 8. Each week, do a weekly dump\
\
\pard\tx540\tx900\tx2160\tx5200\tx6000\b0\fi-400\li920 • On the first week of the month, do a level
\i n
\i0 dump\
\pard\tx540\tx900\tx1560\tx5200\tx6000\fi-300\li1220 •
\i n
\i0 is 1 if there was no configuration work done\
•
\i n
\i0 is 2 if configuration work was done.\
\pard\tx540\tx900\tx2160\tx5200\tx6000\fi-400\li920 \
• The second week, do a level
\i n
\i0 +1 dump\
\
• Etc.\
\
• Rotate media, using at least two sets\
\
\
\pard\tx640\tx6300\b\fi-500\li480 9. Each month, do a monthly dump
\fs36 \
\
\pard\tx540\tx900\tx2160\tx5200\tx6000\b0\fs32\fi-400\li920 • A monthly dump is a level
\i n
\i0 dump (
\i n
\i0 as in step 8)\
\
• Rotate media, using at least two sets\
\
\
\pard\tx640\tx6300\b\fi-500\li480 10. Repeat the cycle, rotating media using at least two sets
\fs36 \
\
\pard\tx540\tx6300\b0\fs32\li180 QA416\
\
Valid for 1.0 \
Valid for 2.0\
\